/* Create a specific class for the animated text container */
.animated-title-container {
    position: relative;
    height: 1em;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

/* Style for the changing text items */
.animated-title-container span {
    animation: title-scroll 15s infinite;
    display: block;
}

/* Animation keyframes */
@keyframes title-scroll {
    0%, 20% {
        transform: translateY(0);
    }
    25%, 45% {
        transform: translateY(-100%);
    }
    50%, 70% {
        transform: translateY(-200%);
    }
    75%, 95% {
        transform: translateY(-300%);
    }
    100% {
        transform: translateY(0);
    }
}

.gradient-text-blue {
    background: -webkit-linear-gradient(45deg, #2193b0, #6dd5ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-purple {
    background: -webkit-linear-gradient(45deg, #8E2DE2, #4A00E0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-sunset {
    background: -webkit-linear-gradient(45deg, #ee0979, #ff6a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-forest {
    background: -webkit-linear-gradient(45deg, #0BA360, #3CBA92);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-ocean {
    background: -webkit-linear-gradient(45deg, #1CB5E0, #000851);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}